<?php
// 20170129 添加 专题审核 需要筛选待审核与已审核
if ($InputData["list_type"] == topic_m::ListCheck || //管理员待审核列表
    $InputData["list_type"] == topic_m::ListChecked
) //管理员已审核列表
{ ?>
    <div class="app-border-bottom app-list-order-bar-fix">
        <span id="topic_works_count" class="app-main-color"><?= $topicCount ?></span>
        <span class="app-main-color">篇作品</span>
        <div
                id="order_sele"
                class="am-fr app-gray-color"
                onclick="topic_works_check_sele(this);"
                data-sele-item="1">
            <span id="order_sele_item1">最新待审核</span>
            <span id="order_sele_item2" style="display: none;">最新已审核</span>
            <i class="am-icon-caret-down"></i>
        </div>
    </div>
    <div style="height: 32px"></div>
    <?php
}
if ($InputData["list_type"] != topic_m::ListUp && // 关注 用户关注的专题
    $InputData["list_type"] != topic_m::ListCheck &&
    $InputData["list_type"] != topic_m::ListChecked
) {
    ?>
    <div style="margin-top:-2px; margin-bottom:0px">
        <div id="topic_list_content" <?php if (isset($InputData['work_id'])) echo 'data-work-for-topic="' . $InputData['work_id'] . '"' ?> >
            <?php require("{$CfgPara->root}/view/topic_list_page.app.v.php"); ?>
        </div>
    </div>
    <?php
} else {
    echo '<div class="app-gray-background" style="padding: 5px; overflow-y: scroll;width: 100%;" id="topic_list_content" data-list-count="' . $topicCount . '">';
    require("{$CfgPara->root}/view/topic_attention_list_page.app.v.php");
    echo '</div>';
}
?>